package com.haojiu.mapper;

import com.haojiu.pojo.Admin;
import com.haojiu.pojo.User;

import java.util.List;

/**
 * @author:我叫浩九
 * @date：2021/8/30 9:56
 * create in RuGao JiangSu
 */
public interface AdminMapper {
    int addAdmin(Admin admin);
    Admin queryAdminByName(String adminName);
    //根据name删除一个User
    int deleteAdminByName(String adminName);
    int updateAdmin(Admin admin);
    List<Admin> queryAllAdmin();
}
